//
//  AppDelegate.h
//  MTDBFROMJSON
//
//  Created by kingPC on 13-8-22.
//  Copyright (c) 2013年 kingPC. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ViewController;

#define database_name @"richManDB.db"
#define Question_TableSQL @"CREATE TABLE IF NOT EXISTS  `t_question` (`id` INTEGER PRIMARY KEY ,`ANSWERID` INTEGER,`CATEGORY` INTEGER,`GRADE` INTEGER,`IS_SHOW` INTEGER,`NAME` varchar(255),`ANSWER1` INTEGER DEFAULT (null) ,`ANSWER2` INTEGER DEFAULT (null) ,`ANSWER3` INTEGER DEFAULT (null) ,`ANSWER4` INTEGER DEFAULT (null) )"
#define Answers_TableSQL @"CREATE TABLE IF NOT EXISTS `t_answers` (`id` INTEGER PRIMARY KEY , `name` VARCHAR , 'Qid' VARCHAR)"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) ViewController *viewController;

@end
